//有点问题  感觉是指针的问题
#include "mediator.h"
#include "nation.h"

int main(int argc, char** argv)
{
    UNSecurity::ptr uns(new UNSecurity());
    Usa::ptr usa(new Usa(uns));
    Irap::ptr irap(new Irap(uns));
    //使用了裸指针，有危险
    uns->setNation(usa.get(),irap.get());
    usa->declare("I suspect you have nuclear weaphon!");
    irap->declare("No, I think\
     the oil is the really thing you are intristed in.");
    return 0;
}